<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<form action="/book/list" method="post">
    <label>Name:</label>
    <input type="text" name="name">
    <input type="submit" value="search">
    <label>Price:</label>
    <input type="text" name="price">
    <input type="submit" value="search">
</form>
<body>
    <table border="1">
        <thead>
        <tr>
            <td>id</td>
            <td>name</td>
            <td>price</td>
            <td>Action</td>
        </tr>
        </thead>
    <tr th:each="book:${book}">
        <td th:text="${book.getId()}"></td>
        <td th:text="${book.getName()}"></td>
        <td th:text="${book.getPrice()}"></td>
        <td><a th:href="@{/book/delete/{id}(id=${book.getId})}">Delete</a>
        <a th:href="@{/book/update/{id}(id=${book.getId})}">Update</a></td>
    </tr>
    </table>
<div>
    <a href="/book/create">Create</a>
</div>
</body>
</html>